import java.io.UnsupportedEncodingException;


public class Demo {
	public static void main(String[] args) throws UnsupportedEncodingException {
		/*String str1 = "87989880";
		String str2 = "sfdsfffh";
		String str3 = "783g454d";
		String str1 = "KQ]K_^^X";
		String str2 = "783g454d";//|in,kkj<
		
		byte[] b1 = str1.getBytes();
		byte[] b2 = str2.getBytes();
		int length = b1.length>=b2.length ? b1.length:b2.length;
		byte[] b3 = new byte[length];
		for(int i = 0 ;i<length; i++){
			int tmp = b1[i] ^ b2[i];
			b3[i] = (byte)tmp;
		}
		System.out.println(new String(b3).toString());*/
		
		String str1 = "87989880";
		String str2 = "sfdsfffh";
		String str3 = "783g454d";
		String[] str = {str1,str2,str3}; //KQ]K_^^X
		
		
		int length = 8;
		byte[] b1 = str[0].getBytes();
		for(int j = 1; j<str.length;j++){
			byte[] b2 = str[j].getBytes();
			for(int i = 0 ;i<length; i++){
				int tmp = b1[i] ^ b2[i];
				b1[i] = (byte)tmp;
			}
		}
		
		System.out.println(new String(b1).toString());
	}
}
